netfilter: nat: Avoid ABI change in 4.9.63
authorBen Hutchings <ben@decadent.org.uk>
Thu, 16 Nov 2017 21:00:59 +0000 (21:00 +0000)
committerYves-Alexis Perez <corsac@debian.org>
Thu, 4 Jan 2018 11:12:40 +0000 (11:12 +0000)
commit52b8a308b452e7943ba1d5033ed0748a8421e3ff
treefb22a94516199f82df7b19a13bd45dc62a233698
parenta780cc12ee1ade903e596aab8052bc4531137c10
netfilter: nat: Avoid ABI change in 4.9.63

Commit e1bf1687740c ("netfilter: nat: Revert "netfilter: nat: convert
nat bysrc hash to rhashtable") changed the type of
nf_conn::nat_bysource.  Thankfully the two types are the same size,
and nothing outside of nf_nat_core touches this field directly.  Hide
the change from genksyms but add compile-time assertions to make sure
that this isn't an ABI change.

Gbp-Pq: Topic debian
Gbp-Pq: Name netfilter-nat-avoid-abi-change-in-4.9.63.patch
include/net/netfilter/nf_conntrack.h
include/net/netfilter/nf_nat.h
net/netfilter/nf_nat_core.c